package com.zk.spring5;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author ZK
 * @Description
 * @time 2021/5/4 10:40
 * @note
 */
@Configuration // 这个表示作为配置类
@ComponentScan(basePackages = {"com.zk"})  // 开启组件扫描，basePackages表示扫描的包
public class SpringConfig {
}
